<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>涉讼业务系统-后台登录</title>
    <link rel="stylesheet" href="/dist/css/layui.css">
    <link rel="stylesheet" href="/dist/css/main.css">
</head>
<body class="layui-bg-gray">
    <div class="layui-container">
        <div class="layui-row ">
            <div class="layui-col-md4 layui-col-md-offset4 layui-center">
                <img src="/dist/images/MARS-LOGO.png" width="300" height="300">
                <br>
            </div>
        </div>

        <div class="layui-row">
            <div class="layui-col-md4 layui-col-md-offset4">
                <form id="login_form" class="layui-form" action="/index/doLogin.btl" method="post" >
                    <div class="layui-form-item" >
                        <div style="width:300px;margin-left:30px;" class="layui-input-inline ">
                            <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
                                   autocomplete="on" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div style="width:300px;margin-left:30px;" class="layui-input-inline ">
                            <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div style="width:300px;margin-left:30px;" class="layui-input-block">
                            <button class="layui-btn" lay-submit="" lay-filter="login_form" style="width:300px;display: block;">立即提交</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
    <script src="/dist/layui.js"></script>
    <script>
        layui.use(["form","element"],function(){
            var element = layui.element;
            var form = layui.form;
            form.on('submit(login_form)', function(data){
                return true;
            });
        });
    </script>
</body>
</html>